package metricmaster.model;

import java.util.ArrayList;
import java.util.Date;

public class Project {

    private String name = "";
    private Date start;
    private Date finish;
    private Integer weeks;
    private ArrayList<Activity> projectActivities;
    private ArrayList<RawHoursData> projectRawHoursData;

    public Project() {
        projectActivities = new ArrayList<>();
        projectRawHoursData = new ArrayList<>();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        System.out.println("project.name set");
        this.name = name;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getFinish() {
        return finish;
    }

    public void setFinish(Date finish) {
        this.finish = finish;
    }

    public ArrayList<Activity> getProjectActivities() {
        return projectActivities;
    }

    public void setProjectActivities(ArrayList<Activity> projectActivities) {
        this.projectActivities = projectActivities;
    }

    public ArrayList<RawHoursData> getProjectRawHoursData() {
        return projectRawHoursData;
    }

    public void setProjectRawHoursData(ArrayList<RawHoursData> projectRawHoursData) {
        this.projectRawHoursData = projectRawHoursData;
    }

    /**
     * @return the weeks
     */
    public Integer getWeeks() {
        return weeks;
    }

    /**
     * @param weeks the weeks to set
     */
    public void setWeeks(Integer weeks) {
        this.weeks = weeks;
    }
}
